package DAO;

public abstract class DBTestFactory {
    private static DBTestFactory factory;
    //获得DBTestFactory实例
    public static DBTestFactory getInstance(){
        factory = new OpFactory();
        return factory;
    }

    public abstract AuthorDAO getAuthorDAO();
    public abstract BookDAO getBookDAO();
    public abstract BookInfoDAO getBookInfoDAO();
    public abstract OrderDAO getOrderDAO();
    public abstract ReaderDAO getReaderDAO();
    public abstract UserTypeDAO getUserTypeDAO();

}
